package com.siyuan1.spring;

import org.springframework.beans.BeansException;
import org.springframework.lang.Nullable;

/**
 * @className: SiyuanBeanPostProcessor
 * @Description: TODO
 * @author: wzq
 * @date: 2022/8/24 15:53
 */
public interface SiyuanBeanPostProcessor {

	@Nullable
	default Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
		return bean;
	}

	@Nullable
	default Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
		return bean;
	}

}
